.dux-web-editor {
    position: relative;
    width: 800px;
    height: 600px;
    border: 1px solid #ccc;
    font-size:12px;
}

.dux-web-editor a {
    color: #666;
    text-decoration: none;
}

.dux-web-editor .h-rule {
    position: absolute;
    height: 18px;
    left: 18px;
    right: 0;
    top: 70px;
    background: url(../images/hRule.gif) left top no-repeat;
    border-bottom: 1px solid #666;

}

.dux-web-editor .v-rule {
    position: absolute;
    width: 18px;
    left: 0;
    top: 88px;
    bottom: 0;
    background: url(../images/vRule.gif) left top no-repeat;
    border-right: 1px solid #666;
}

.dux-web-editor .edit-body {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.dux-web-editor .edit-tools {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #ddd;
    padding: 5px;
    list-style: none;
    padding-top:0;
}

.dux-web-editor .edit-tools li {
    float: left;
    border: 1px solid #ccc;
    background: #fff;
    margin-right:5px;
    padding-left:5px;
    padding-right:5px;
    margin-top: 5px;
}

.dux-web-editor .edit-tools br {
    float: none;
    clear: both;
}

.dux-web-editor .edit-tools li a {
    display: block;
    padding: 5px 5px;
    line-height:14px;
}

.dux-web-editor .edit-tools li.active {
    border-color: dodgerblue;
    color: dodgerblue;
}

.dux-web-editor .edit-tools li.active a {
    color: dodgerblue;
}

.dux-web-editor .edit-tools input {
    border: 1px solid #ddd;
    margin: 2px 5px;
    max-width: 50px;
    padding: 0;
    height: 18px;
    text-align: center;
}
.dux-web-editor .edit-tools input:focus {
    outline: none;
}

.dux-web-editor .edit-tools select {
    border-radius: 0;
    border: none;
    background: #fff;
    height: 24px;
}
.dux-web-editor .edit-tools select:focus {
    outline: none;
}

.dux-web-editor .edit-body .box {
    border: 1px solid #f00;
    width: 0;
    height: 0;
    position: absolute;
    font-size:12px;
}

.dux-web-editor .edit-body .box textarea {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
}
.dux-web-editor .edit-body .box textarea:focus {
    outline: none;
}
.dux-web-editor .edit-body.select {
    cursor: default;
}

.dux-web-editor .edit-body.select .box {
    cursor: move;
}

.dux-web-editor .edit-body.select .active {
    background: rgba(255, 0, 0, 0.2);
}

.dux-web-editor .edit-body.add {
    cursor: crosshair;
}

.dux-web-editor .edit-body.add .active {
    border: 1px dashed #666;
}

.dux-web-editor .edit-body.edit .active {
    border: 1px solid #666;
}

.dux-web-editor .edit-body.edit .box {
    cursor: text;
}